package com.yydm.serviceucenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname UcenterApplication
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/7/8 16:31
 * @Created by liu25
 */
@SpringBootApplication
@EnableDiscoveryClient  //nacos注册
@ComponentScan("com.yydm")
@MapperScan("com.yydm.serviceucenter.mapper")
public class UcenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }

}
